Repository navigation
Conversation
ABACUS-PR-BOT
left a comment
There was a problem hiding this comment.
Non-blocking: Please replace the template placeholders with a brief summary of the formatting/include-order changes and the exact checks and results, including any checks not run. A short note that INPUT and user documentation are unaffected is sufficient here.
| void pdtran_(int* m , int* n , | ||
| double* alpha , double* a , int* ia , int* ja , int* desca , | ||
| double* beta , double* c , int* ic , int* jc , int* descc ); | ||
| void pddot_(int* n, |
| int* jy, | ||
| int* descy, | ||
| int* incy); | ||
| void pdtran_(int* m, |
| template <typename T> | ||
| class DavidsonOwnershipTest : public ::testing::Test {}; | ||
| class DavidsonOwnershipTest : public ::testing::Test | ||
| { |
| void pztrmm_(char* side , char* uplo , char* transa , char* diag , int* m , int* n , | ||
| double _Complex* alpha , double _Complex* a , int* ia , int* ja , int* desca , | ||
| double _Complex* b , int* ib , int* jb , int* descb ); | ||
| void pzdotc_(int* n, |
| ParaPrepare(int KPAR_in, int nkstot_in) | ||
| : KPAR_(KPAR_in), nkstot_(nkstot_in) {} | ||
| ParaPrepare(int KPAR_in, int nkstot_in) : KPAR_(KPAR_in), nkstot_(nkstot_in) | ||
| { |
|
The goal of this series of pre-commit PRs was to establish a consistent formatting standard across the entire repository and eventually make it a required check. This is especially relevant for C++, as we've already had a That said, your point about the number of lines does make sense. However, this would also mean that we first need to discuss and revise the existing I think, we should leave these decisions to @mohanchen. |
eb945bc to
19c7665
Compare
|
With the discussed alternative |
ABACUS-PR-BOT
left a comment
There was a problem hiding this comment.
Static review of 19c7665d against 64463eb3 found no confirmed source correctness defect. No candidate formatter, build or runtime tests were run.
| BinPackArguments: false | ||
| BinPackParameters: false | ||
|
|
||
| BreakBeforeBinaryOperators: All | ||
| BreakBeforeTernaryOperators: true | ||
|
|
||
| Cpp11BracedListStyle: true | ||
| FixNamespaceComments: true | ||
|
|
||
| # InsertBraces: true # only for clang-format version15.0.0 or later | ||
|
|
||
| # About include | ||
| IncludeBlocks: Regroup | ||
| IncludeIsMainRegex: '([-_](test|unittest))?$' | ||
| IncludeIsMainSourceRegex: '' | ||
|
|
||
| PackArguments: | ||
| BinPack: UseBreakAfter | ||
| BreakAfter: 3 | ||
| PackParameters: | ||
| BinPack: UseBreakAfter | ||
| BreakAfter: 3 |
There was a problem hiding this comment.
Non-blocking: In the pinned clang-format 23.1.3, PackArguments and PackParameters override the two legacy BinPack* settings above. Please remove those ineffective aliases so the active three-item packing threshold is clear.
19c7665 to
5bb3195
Compare
Reminder
AGENTS.mdanddocs/developers_guide/agent_governance.md.source/changes.Linked Issue
Fix #
Unit Tests and/or Case Tests for my changes
What's changed?
Governance Notes